#!/bin/bash

echo -e "\nValid login / Invalid pass\n-------"
time /usr/sbin/testsaslauthd -u thomas -p invalid -r zz.com -s srv -R 2000 >/dev/null

echo -e "\nValid login / Valid pass\n-------"
time /usr/sbin/testsaslauthd -u thomas -p aliacom -r zz.com -s srv -R 2000 >/dev/null

echo -e "Invalid login\n-------"
time /usr/sbin/testsaslauthd -u invalid -p aliacom -r zz.com -s srv -R 2000 >/dev/null
